/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session.manager;

import entity.Message;
import java.util.Collection;
import javax.ejb.Local;

/**
 *
 * @author antonio
 */
@Local
public interface MessageManagerBeanLocal {
    
    void createMessage(String username, String text);
    
    void deleteMessage(int id);
    
    void markAsRead(int id);
    
    Collection<Message> getMessages(String username);
    
}
